<script lang="ts" setup>
import { useAppStore } from '@/stores'

defineOptions({ name: 'App' })

const appStore = useAppStore()

onBeforeMount(async () => {
  appStore.initTheme()
  appStore.initWebsiteConfig()
  appStore.initDict()
})
</script>

<template>
  <a-config-provider>
    <router-view />
  </a-config-provider>
</template>
